package com.xd.springaiagent.tools;

import com.xd.springaiagent.agent.AgentState;
import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Service;

@Service
public class Terminate {
    @Tool(name = "terminate", description = """
            Terminate the interaction when the request is met OR if the assistant cannot proceed further with the task.
            When you have finished all the tasks, call this tool to end the work.
            """)
    public String terminate() {

        return "解答完毕，如有其它需求请告诉我。";
    }
}
